package top.glike.funct.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.glike.common.annotation.Excel;
import top.glike.common.core.domain.BaseEntity;

/**
 * 旅行详情管理对象 gb_travel_detail
 * 
 * @author Sophia
 * @date 2024-02-13
 */
public class GbTravelDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 旅行id */
    @Excel(name = "旅行id")
    private String travelId;

    /** 地点 */
    @Excel(name = "地点")
    private String city;

    /** 经度 */
    @Excel(name = "经度")
    private String latitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String longitude;

    /** 旅行计划日期 */
    @Excel(name = "旅行计划日期")
    private String planDate;

    /** 持续时间 */
    @Excel(name = "持续时间")
    private String duration;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private Integer isDone;

    /** 计划内容 */
    @Excel(name = "计划内容")
    private String planTxt;

    /** 照片 */
    @Excel(name = "照片")
    private String planImgs;

    /** 备注 */
    @Excel(name = "备注")
    private String mark;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTravelId(String travelId) 
    {
        this.travelId = travelId;
    }

    public String getTravelId() 
    {
        return travelId;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setPlanDate(String planDate) 
    {
        this.planDate = planDate;
    }

    public String getPlanDate() 
    {
        return planDate;
    }
    public void setDuration(String duration) 
    {
        this.duration = duration;
    }

    public String getDuration() 
    {
        return duration;
    }
    public void setIsDone(Integer isDone) 
    {
        this.isDone = isDone;
    }

    public Integer getIsDone() 
    {
        return isDone;
    }
    public void setPlanTxt(String planTxt) 
    {
        this.planTxt = planTxt;
    }

    public String getPlanTxt() 
    {
        return planTxt;
    }
    public void setPlanImgs(String planImgs) 
    {
        this.planImgs = planImgs;
    }

    public String getPlanImgs() 
    {
        return planImgs;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("travelId", getTravelId())
            .append("city", getCity())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("planDate", getPlanDate())
            .append("duration", getDuration())
            .append("isDone", getIsDone())
            .append("planTxt", getPlanTxt())
            .append("planImgs", getPlanImgs())
            .append("mark", getMark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
